<%@page import="bean.BoardVO"%>
<%@page import="bean.BoardDTO"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="../css/boards.css"/>
<script type="text/javascript" src="../js/boards.js"></script>
<title>Insert title here</title>
</head>
<body>
	<jsp:useBean id="board" class="bean.BoardVO" scope="page"/>
	<jsp:setProperty property="*" name="board"/>
	<%
		BoardDTO dto = new BoardDTO();
		dto.setVo(board);
		BoardVO v = dto.selectOne();
	%>
	<h1>답변 달기</h1><hr/>
	<form action="rep_input_result.jsp" name="rep_frm" method="post">
		글번호: <%=v.getNo() %>,s:<%=v.getSeq() %>,l:<%=v.getLvl() %>,g:<%=v.getGrp() %><%=v.getTitle() %><br/>
		<input type="hidden" name="nowPage" value="<%=v.getNowPage() %>"/>
		<input type="hidden" name="grp" value="<%=v.getGrp() %>"/>
		<input type="hidden" name="find" value="<%=v.getFind() %>"/>
		<input type="hidden" name="no" value="<%=v.getNo() %>"/>
		<input type="hidden" name="seq" value="<%=v.getSeq() %>"/>
		<input type="hidden" name="lvl" value="<%=v.getLvl() %>"/>
		<input type="text" name="title" id="title" size="70"/>
		<input type="button" id="btnRepSave" value="입력"/>
	</form>
		
</body>
	<script type="text/javascript">repInputInit();</script>
</html>